
#include "car_server.h"

#define CN_DEFAULT_UART_PATH    "/dev/ttymxc3"
#define CN_DEFAULT_UART_SPEED   115200

/**
    car_server -s 115200 -p /dev/ttyc3
*/
char aPath[64]=CN_DEFAULT_UART_PATH;
int iUartSpeed = 115200;

#define LOGOUT_E    printf
int main(int argc,char** argv)
{
    char path[64];
    int speed = 115200;
    sprintf(path,"%s",CN_DEFAULT_UART_PATH);
    ProtocolInterface   *proto;

    string path="/dev/ttymxc3";

    CarHardwareBase *carhw = new CarHardwareUart(path,speed);

    if(!car){
        LOGOUT_E("Sorry,cannot create carhwinterface");
    }

out:


}

